<%@ include file="../common.jsp"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="${path}">
    <title>${shop.shopName}的店铺</title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">   
<style type="text/css">
td{
text-align: center;
width: auto;
}


</style>
  </head>
  
  <body>
    <center>
    	<h2>${shop.shopName}的店铺</h2>
        <table width="90%" border="1">
        <tr>   
        	<td><a href="shop_shopIndex.do?shop.id=${shop.id}">首页</a></td>
	        <s:iterator  value="shopIndex.goodstypeList">
			 <td><a href="goodsType.do?goodstype.id=${id}&shop.id=${shop.id}"><s:property value="goodsTypeName"/> </a></td>	      
	        </s:iterator>
	        </tr>
        </table>
        
         <table width="90%" border="1">
                <tr>
            	<th>商品图片</th>
            	<th>商品名称</th>
            	<th>商品添加者</th>
            	<th>商品添加时间</th>
            	<th>商品类型</th>
            	<th>商品类型ID</th>
            	<th>备注</th>
            </tr>
	        <s:iterator  value="shopIndex.goodsList">
	        <tr>
	        <td style="width:10%;"><a href="<s:property value='nameUrl'/>"  target="_blank"><img src="<s:property value='imgUrl'/>" style="width: 200px;height: 100px"></a></td>
	        <td style="width:30%;"><a href="<s:property value='nameUrl'/>"  target="_blank"><s:property value="name"/></a></td>
	        <td style="width:10%;"><s:property value="createAuthor"/> </td>
	        <td style="width:10%;"><s:property value="createDate"/> </td>
	        <td style="width:10%;"><s:property value="goodsType"/> </td> 
	        <td style="width:10%;"><s:property value="goodsTypeId"/> </td> 
	        <td style="width:10%;"><s:property value="other"/> </td>
	        </s:iterator>
        </table>
    </center>
  </body>
</html>
